package draw;

public class DrawingTool implements Tool {

	private DrawCommand command;
	
	public DrawingTool(final DrawCommand command) {
		this.command = command;
	}
	
	public DrawingTool() {};
	
	@Override
	public void setCommand(final DrawCommand command) {
		this.command = command;
	}
	
	@Override
	public void draw() {
		command.draw();
	}
}
